From: Adel Gadllah Date: Sat, 23 Mar 2013 09:51:43 +0000 (+0100) Subject: layout: Fix opening the overview for xdnd X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4406 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=94778c0dac6b5616fd21c3617e12e49d9db4a243;p=gnome-shell.git layout: Fix opening the overview for xdnd In the (no barriers) fallback case handleDragOver has somehow ended up being turned into a nop and thus breaking xdnd overview opening. Fix that by calling _toggleOverview() when a xdnd source triggers it. https://bugzilla.gnome.org/show_bug.cgi?id=696447 --- diff --git a/js/ui/layout.js b/js/ui/layout.js index 8d5ab1276..e8f46c1cb 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -1200,6 +1200,8 @@ const HotCorner = new Lang.Class({ if (source != Main.xdndHandler) return DND.DragMotionResult.CONTINUE; + this._toggleOverview(); + return DND.DragMotionResult.CONTINUE; },